package com.general.template.service;

import com.general.template.dto.QuestionCommonDto;
import com.general.template.pojo.PowerQuestionCommon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.general.template.utils.Pages;
import com.general.template.vo.QuestionCommonVo;

import java.util.List;
import java.util.Map;

/**
 * @Author: 杰哥
 * Date: 2021/2/16 22:39
 * @Description:
 **/

public interface PowerQuestionCommonService extends IService<PowerQuestionCommon> {

    int addQuestion(PowerQuestionCommon questionCommon);

    Map<String,Object> addList(List<QuestionCommonVo> vo);

    Pages<QuestionCommonDto<String>> pageList(Pages<QuestionCommonDto<String>> pages);

    List<QuestionCommonDto> getRandomList(Integer jobId);
}

